package com.example.myapplication;

import android.util.Log;

import org.java_websocket.handshake.ServerHandshake;

import java.nio.ByteBuffer;

public interface SocketClientListener {

    void onOpen(ServerHandshake handshakedata);

    void onMessage(ByteBuffer bytes);

    void onMessage(String message);

    void onClose(int code, String reason, boolean remote);

    void onError(Exception ex);
}
